package Test;

import Lista.Agenda;
import Personas.Persona;
import Producto.producto;

public class Test extends Persona {

	public static void main (String[] args)
	{
			Persona pe=new Persona("Pepe","Rodriguez","c/salado",954562314,"28459854R","null");
			Persona pe2=new Persona("Juan","Perez","c/salado",954562314,"28459854R","null");
			Persona pe3=new Persona("Pepe","Chacon","c/salado",954562314,"28459854Q","null");
			//System.out.println(pe);
			Agenda ag = new Agenda();
			ag.alta(pe);
			ag.alta(pe2);
			ag.alta(pe3);
			ag.baja(pe2);
			ag.baja(pe3);
			producto p = new producto();
			producto p1 = new producto(10,"Hierro",15,255);
			producto p3 = new producto((float) 5.5,"Cristal",(float) 15.20, (float) 8.5);
			p.alta_producto(p3);
	}
}
